//
// Created by Lin on 2023/8/27.
//  十进制int转二进制
//


#include <iostream>

using namespace std;

int main()
{
    int num;
    num = 8;
    for (int i = 8; i > 0; --i)
    {
        if (num&(1<<i))
            cout<<1;
        else
            cout<<0;
    }
    return 0;
}